﻿#ifndef ORIGINATOR_H
#define ORIGINATOR_H

#include <QString>
#include <memory>
#include "Memento.h"

using namespace std;

class Originator
{
private:
    QString m_state;
public:
    Originator();
    shared_ptr<Memento> CreateMemento();
    void setMemento(shared_ptr<Memento> memento);
    void show();
    const QString &getState() const;
    void setState(const QString &state);
};

#endif // ORIGINATOR_H
